﻿using System;
using System.Collections;
using UnityEngine;

namespace Studio
{
	// Token: 0x02000523 RID: 1315
	public class StartScene : MonoBehaviour
	{
		// Token: 0x06002178 RID: 8568 RVA: 0x000CCA8C File Offset: 0x000CAC8C
		private IEnumerator LoadCoroutine()
		{
			yield return Singleton<Info>.Instance.LoadExcelDataCoroutine();
			Singleton<Scene>.Instance.fadeColor = Color.black;
			Singleton<Scene>.Instance.Load(new Scene.Data
			{
				sceneName = "Studio"
			});
			yield break;
		}

		// Token: 0x06002179 RID: 8569 RVA: 0x000CCAA0 File Offset: 0x000CACA0
		private void Start()
		{
			base.StartCoroutine(this.LoadCoroutine());
		}
	}
}
